projects
/
gpsbabel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c5e8aa
)
Minor gbfile changes.
author
oliskoli
<oliskoli>
Wed, 30 Aug 2006 19:48:45 +0000
(19:48 +0000)
committer
oliskoli
<oliskoli>
Wed, 30 Aug 2006 19:48:45 +0000
(19:48 +0000)
gbfile.c
patch
|
blob
|
history
gbfile.h
patch
|
blob
|
history
diff --git
a/gbfile.c
b/gbfile.c
index 57fb40fda4038eac18033ffc188182f8737fd2ae..8a457f91792a4d2f29fa0f6859952064f55660b0 100644
(file)
--- a/
gbfile.c
+++ b/
gbfile.c
@@
-40,7
+40,7
@@
#endif
#define MYNAME "gbfile"
-#define NO_ZLIB
"No zlib support
"
+#define NO_ZLIB
MYNAME ": No zlib support\n.
"
/* About the ZLIB_INHIBITED stuff:
*
diff --git
a/gbfile.h
b/gbfile.h
index 6444308059c23567ad572b8210a4efa734bee9f6..596e9c2c5dcd510efff9b7713d20d5c1401987d2 100644
(file)
--- a/
gbfile.h
+++ b/
gbfile.h
@@
-25,7
+25,6
@@
#include "config.h"
#include "defs.h"
-#include "zlib/zlib.h"
#include <stdarg.h>
typedef struct gbfile_s {
@@
-34,7
+33,9
@@
typedef struct gbfile_s {
#endif
union {
FILE *std;
+#if !ZLIB_INHIBITED
gzFile *gz;
+#endif
} handle;
char *name;
char *module;